/**
 * 版权所有 @鸿名物联 
 * 未经授权，禁止侵权和商业用途，违法必究
 * 联系QQ：2224313811 
 * 
 */
package com.lp.bean;

import com.lp.annotation.Code;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.codehaus.jackson.map.annotate.JsonSerialize;

import java.util.Date;

/**
 *@类:IotTriggerInfo
 *@作者:chenrj
 */

@Data
@NoArgsConstructor
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) 
@EqualsAndHashCode(callSuper = false) 
public class IotTriggerInfo extends BaseBean {

   /**name*/
   private String name;

   /**源传感器ID*/
   private Integer from_sensor_id;

   /**目标传感器ID*/
   private Integer to_sensor_id;

   /**触发条件类型*/
   @Code
   private Integer iot_trigger_condition_type;

   /**触发动作类型*/
   @Code
   private String iot_trigger_action_type;

   /**触发动作参数*/
   private String action_params;

   /**seq*/
   private Integer seq;

   /**条件参数*/
   private String condition_params;

   /**报警级别*/
   @Code
   private Integer iot_trigger_alarm_level;

   /**是否报警标志*/
   @Code
   private Integer iot_trigger_alarm_flag;

   /**启停状态*/
   @Code
   private Integer iot_trigger_status;

   /**触发间隔*/
   private Integer trigger_inteval_time;

   /** 最近触发时间*/
   private Date last_trigger_time;

   /**aid*/
   private Integer aid;

   /**atime*/
   private Date atime;

   /**mid*/
   private Integer mid;

   /**mtime*/
   private Date mtime;
   
   private Integer recovery ;

   private String x_value;

   private String y_value;

   private String m_value;
   
}